package dat255.calendarclock.model.event;

import java.util.Comparator;


	/**
	 * A Comparator was demanded from the spinnerAdapter to sort it...
	 * @author Gabriel Andersson
	 */
	public class CategoryComparator implements Comparator<Category>{	
		@Override
		public int compare(Category object1, Category object2) {
			return object1.compareTo(object2);
		}
		
	}